# #
# # a, b = (0, 1)
# # for i in range(10):
# #     print(a)
# # #
# a, b = (1,2)
# for i in range(10):
#     print(a * b)
#
#
#
#
# adict = {'name': 'tom', 'age': 23}
#
# adict['age']
# 23
# adict['name']
# 'tom'
# dict['email'] = 'bob@tedu.com'
# adict
# {'name': 'tom', 'age': 23, 'email': 'bob@tedu.com'}



#
#
#
#
#
#
#
# if 3 > 0:
#     print('yes')
#     print('ok')
# if 10 in [10, 20, 30]:
#     print('ok')
# if -0.0:
#     print('False')
# # if [1, 2] :
# #     print('yesss')
# # if '   ' :
# #     print('yyyyes')
# a = 10
# b = 20
# if a < b :
#     smaller = a
# else:
#     smaller = b
# print(smaller)
#
# s = a if a < b else b
# print(s)












#
# a = 10
# b = 20
# if a < b:
#     sa = a
# else:
#     sa =  b
# # print(sa)
# sa = a if a < b else b
# # print(sa)
# import getpass
# u = input('username:')
# p = getpass.getpass('password:')
# # if u == 'bob' and p == '123456':
# #     print('Login Ok')
# # else:
# #     print('Logout No')
# import getpass  # 导入getpass模块
# uname = input('username: ')
# upass = getpass.getpass('password: ')
# if uname == 'bob' and upass == '123456':
#     print('登陆成功')
# else:
#     print('登陆失败')